<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>
<!DOCTYPE html>
<html>
<head>
<jsp:include page="../head.jsp"/>
<title>信息工程学院成教管理系统-添加成绩信息</title>
<link rel="stylesheet" type="text/css" href="<%=request.getContextPath()%>/css/style.css">
<script src="<%=request.getContextPath()%>/js/jquery.min.js" type="text/javascript"></script>
<script src="<%=request.getContextPath()%>/js/queryClass.js" type="text/javascript"></script>
<script src="<%=request.getContextPath()%>/js/queryCollege.js" type="text/javascript"></script>
<script src="<%=request.getContextPath()%>/js/querySno.js" type="text/javascript"></script>
<script src="<%=request.getContextPath()%>/js/queryCourse.js" type="text/javascript"></script>
</head>
<body>
	<div class="container">
		<div class="row">
			<div class="col-md-offset-5 col-md-2">
				<h3 class="text-center">添加成绩信息</h3>
			</div>
		</div>
	
		<c:if test="${flag == false}">
			<div class="row">
				<div class="col-md-offset-5 col-md-2">
					<h3 class="text-center">添加失败</h3>
				</div>
			</div>
		</c:if>
	
		<div class="row">
			<div class="col-md-offset-2 col-md-6">
				<form class="form-horizontal" method="post" action="addscore.do">
					<div class="form-group has-feedback">
						<label class="col-sm-4 control-label">学号</label>
						<div class="col-md-8">
							<select id="sno" name="sno" class="form-control">
							</select>
						</div>
					</div>

					<!-- <div class="form-group has-feedback">
						<label class="col-sm-4 control-label">姓名</label>
						<div class="col-md-8">
							<input type="hidden" class="form-control" name="sname">
						</div>
					</div>
				
					<div class="form-group has-feedback">
						<label class="col-sm-4 control-label">所在班级</label>
						<div class="col-md-8">
							<select id="class" name="classname" class="form-control">
										
							</select>
						</div>
					</div>
					
					<div class="form-group has-feedback">
						<label class="col-sm-4 control-label">所在学院</label>
						<div class="col-md-8">
							<select id="college" name="college" class="form-control">
										
							</select>
						</div>
					</div> -->
				
					<div class="form-group has-feedback">
						<label class="col-sm-4 control-label">课程名</label>
						<div class="col-md-8">
							<select id="coursename" name="course" class="form-control">
							</select>
						</div>
					</div>
					
					<div class="form-group has-feedback">
						<label class="col-sm-4 control-label">平时成绩</label>
						<div class="col-md-8">
							<input type="text" class="form-control" name="uscore">
						</div>
					</div>
				
					<div class="form-group has-feedback">
						<label class="col-sm-4 control-label">期末成绩</label>
						<div class="col-md-8">
							<input type="text" class="form-control" name="endscore">
						</div>
					</div>
				
					<div class="form-group has-feedback">
						<label class="col-sm-4 control-label">总成绩</label>
						<div class="col-md-8">
							<input type="text" class="form-control" name="totalscore">
						</div>
					</div>
				
					<div class="form-group has-feedback">
						<label class="col-sm-4 control-label">成绩等级</label>
						<div class="col-md-8">
							<input type="text" class="form-control" name="levelscore">
						</div>
					</div>
					
<!-- 					<div class="form-group has-feedback">
						<label class="col-sm-4 control-label">任课老师</label>
						<div class="col-md-8">
							<input type="text" class="form-control" name="tname">
						</div>
					</div> -->
<!-- 					<div class="form-group has-feedback">
						<label class="col-sm-4 control-label">学期</label>
						<div class="col-md-8">
							<input type="text" class="form-control" name="term">
						</div>
					</div> -->
					
					<div class="form-group">
						<div class="col-md-offset-6 col-md-4">
							<button type="submit" class="btn btn-default btn-primary btn-block">添加</button>
						</div>
					</div>
				</form>
			</div>
		</div>
	</div>
</body>
</html>